<?xml version="1.0" encoding="utf-8"?>
<article xmlns="http://docbook.org/ns/docbook">
  <section>
    <sectioninfo>
      <title>Complex footnotes</title>
    </sectioninfo>
    <section>
      <title><anchor ID="complex_footnotes"/>Complex footnotes</title>
      <para><footnote label="2"><para>This footnote is labeled manually, so its number is fixed.</para></footnote> will be "2" (manually numbered), <footnote label="3"><para>This footnote will be labeled "3". It is the second auto-numbered footnote, but footnote label "2" is already used.</para></footnote> will be "3" (anonymous auto-numbered), and <footnote label="1"><para>This autonumber-labeled footnote will be labeled "1". It is the first auto-numbered footnote and no other footnote with label "1" exists. The order of the footnotes is used to determine numbering, not the order of the footnote references.</para></footnote> will be "1" (labeled auto-numbered).</para>
    </section>
  </section>
</article>
